package com.smrs.basicdata.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jof.framework.dao.hibernate.SimpleHibernate3SupportDao;
import com.jof.framework.util.Pager;
import com.smrs.basicdata.dao.SystemConfigDao;
import com.smrs.basicdata.model.SystemConfigModel;
import com.smrs.service.BaseService;
@Service(value="systemConfigService")
public class SystemConfigService extends BaseService<SystemConfigModel,Long>{
	
	@Autowired
	protected SystemConfigDao systemConfigDao;
	
	public Pager<SystemConfigModel> getByNameLikePager(String name, Pager<SystemConfigModel> pager){		
		Pager<SystemConfigModel> tempPager = getPerformDao().getByNameLikePager(name,pager); 
		return tempPager;		
	}
	
	
	public SimpleHibernate3SupportDao<SystemConfigModel, Long> getPerformDao() {		
		return systemConfigDao;
	}

} 
